<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
<html lang="en">
<head>
    <title>Stocks</title>
</head>
<body>
<table cellspacing="5" border="2">
<tr>
	<th>Stock</th>
	<th>Price</th>
	<th>Change</th>
</tr>
{% for stock in stocks %}
<tr>
		{% for s in stock %}
		{% ifequal s|first "-" %}
		<td bgcolor="red">
		{% else %}
		<td bgcolor="green">
		{% endifequal %}	
		{{s}}</td>
                {% endfor %}
 	</tr>
        {% endfor %}
</table>
</body>
</html>
